#include "stdafx.h"
#include "CppUnitTest.h"

#include "../Geometry/Vector3d.h"
//#include "../Geometry/Vector3d.cpp"
//
#include "../Geometry/Line3d.h"
//
#include "../Geometry/Point3d.h"

#include "../Geometry/Segment3d.h"
#include "../Geometry/Segment3d.cpp"


using Geometry::Vector3d;
using Geometry::Line3d;
using Geometry::Point3d;
using Geometry::Segment3d;

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace GeometryTests
  {
  TEST_CLASS(UnitTestSegment3d)
    {
    public:
      TEST_METHOD(ShouldComputeLengthCorrectry)
        {
        Segment3d s(Point3d(0, 0, 0), Point3d(0, 2.5, 0));

        Assert::AreEqual(2.5, s.GetLength());

        }

    };
  }